package com.lagou.studentsystem.service.impl;

import com.lagou.studentsystem.dao.UserDao;
import com.lagou.studentsystem.factory.UserDaoFactory;
import com.lagou.studentsystem.model.Student;
import com.lagou.studentsystem.model.User;
import com.lagou.studentsystem.service.UserService;

import java.util.List;

public class UserServiceImp implements UserService {

    private UserDao userDao ;

    public UserServiceImp(){
        this.userDao = UserDaoFactory.getUserDao();
    }

    @Override
    public User userLoginService(User user){
        return userDao.userLogin(user);
    }


}
